package com.ruoyi.contract.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.contract.domain.ConBusiness;
import com.ruoyi.contract.domain.ConObjOut;
import com.ruoyi.contract.domain.VCtmsClient;


import java.util.List;

/**
 * Created by zhangxiang on 2021/9/26.
 */
public interface IConObjOutService extends IService<ConObjOut> {

    //保存外部关系对象
    AjaxResult saveObjOut(VCtmsClient cusData, ConBusiness conBusiness);

    List<ConObjOut> listConObjOutByConId(Long conId);

    List<String> getCusIdListByConIdAndTypes(Long conId);


    /**
     * 复制内部关系对象
     */
    boolean cloneObjOut(Long oldConId, Long newConId);
}
